package com.example.flying_personnel_management_system.dao;

import java.util.List;

import com.example.flying_personnel_management_system.pojo.SysDept;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface SysDeptMapper {
    int deleteByPrimaryKey(Long deptId);

    int insert(SysDept record);

    SysDept selectByPrimaryKey(Long deptId);

    List<SysDept> selectAll();

    int updateByPrimaryKey(SysDept record);

    //显示所有部门 wu
    List<SysDept> allbm();
}